package com.tm.model;


import com.tm.annotationTest.TmColumnName;
import com.tm.annotationTest.TmTableId;
import com.tm.annotationTest.TmTableName;

@TmTableName("tm_student")
public class Student {

    @TmTableId
    private  Integer stuId;

    @TmColumnName(value = "stu_age",length = 255)
    private  String stuAge;

    @TmColumnName(value = "stu_sex",length = 255)
    private  String stuSex;

    @TmColumnName(value = "stu_name",length = 255)
    private  String stuName;

    @TmColumnName(value = "stu_data",length = 255)
    private  String stuData;


    public String getStuAge() {
        return stuAge;
    }

    public void setStuAge(String stuAge) {
        this.stuAge = stuAge;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuData() {
        return stuData;
    }

    public void setStuData(String stuData) {
        this.stuData = stuData;
    }

    public Integer getStuId() {
        return stuId;
    }

    public void setStuId(Integer stuId) {
        this.stuId = stuId;
    }
    public Student() {
    }


    public Student(Integer stuId, String stuAge, String stuSex, String stuName, String stuData) {
        this.stuId = stuId;
        this.stuAge = stuAge;
        this.stuSex = stuSex;
        this.stuName = stuName;
        this.stuData = stuData;
    }
}
